//
//  DappInfo.h
//  Bees
//
//  Created by NowYouCanSee on 2019/2/19.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SignatureModel.h"

NS_ASSUME_NONNULL_BEGIN
@interface WhiteDappInfo : NSObject
///合约
@property (nonatomic,copy) NSString *contract_name;
///操作
@property (nonatomic,copy) NSString *name;
///免弹窗
@property (nonatomic,assign) BOOL free;
///白名单签名
@property (nonatomic,strong) NSDictionary*whites;
@property (nonatomic,strong) NSString*permissions;

@end

@interface DappInfo : NSObject
@property (nonatomic,copy) NSString *dappId;
@property (nonatomic,copy) NSString *imgUrl;
@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *address;
@property (nonatomic,copy) NSString *introduction;

///权限
@property (nonatomic,copy) NSString *permissions;
///白名单
@property (nonatomic,strong) NSArray<WhiteDappInfo*>*whites;
@end

NS_ASSUME_NONNULL_END
